emacs.git
14 years agoProtoize
Andreas Schwab [Sun, 10 Jul 2011 08:52:10 +0000 (10:52 +0200)]
Protoize

* src/alloc.c (reset_malloc_hooks): Protoize.
* src/cm.c (losecursor): Likewise.
* src/ralloc.c (r_alloc_check): Likewise.

14 years agoProtoize
Andreas Schwab [Sun, 10 Jul 2011 08:20:10 +0000 (10:20 +0200)]
Protoize

* src/buffer.c (mmap_init, mmap_find, mmap_free_1, mmap_enlarge)
(mmap_set_vars, mmap_alloc, mmap_free, mmap_realloc): Protoize.
* src/data.c (fmod): Likewise.
* src/dispnew.c (swap_glyphs_in_rows): Likewise.
* src/emacs.c (memory_warning_signal): Likewise.
* src/floatfns.c (float_error): Likewise.
* src/font.c (check_gstring, check_otf_features, otf_tag_symbol)
(otf_open, font_otf_capability, generate_otf_features)
(font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
Likewise.
* src/image.c (pbm_read_file): Likewise.
* src/indent.c (string_display_width): Likewise.
* src/intervals.c (check_for_interval, search_for_interval)
(inc_interval_count, count_intervals, root_interval)
(adjust_intervals_for_insertion, make_new_interval): Likewise.
* src/lread.c (defalias): Likewise.
* src/regex.c (set_image_of_range_1, set_image_of_range)
(regex_grow_registers): Likewise.
* src/sysdep.c (strerror): Likewise.
* src/termcap.c (valid_filename_p, tprint, main): Likewise.
* src/tparam.c (main): Likewise.
* src/unexhp9k800.c (run_time_remap, save_data_space)
(update_file_ptrs, read_header, write_header, calculate_checksum)
(copy_file, copy_rest, display_header): Likewise.
* src/widget.c (mark_shell_size_user_specified, create_frame_gcs):
Likewise.
* src/xdisp.c (check_it): Likewise.
* src/xfaces.c (register_color, unregister_color, unregister_colors):
Likewise.
* src/xfns.c (print_fontset_result): Likewise.
* src/xrdb.c (member, fatal, main): Likewise.

14 years agoMerge: Fix minor problems found by static checking (Bug#9031).
Paul Eggert [Sun, 10 Jul 2011 05:12:16 +0000 (22:12 -0700)]
Merge: Fix minor problems found by static checking (Bug#9031).

14 years agoFix ChangeLog to reflect merge better.
Paul Eggert [Sun, 10 Jul 2011 04:58:22 +0000 (21:58 -0700)]
Fix ChangeLog to reflect merge better.

14 years agoMerge from trunk.
Paul Eggert [Sun, 10 Jul 2011 04:54:04 +0000 (21:54 -0700)]
Merge from trunk.

14 years ago* doc/emacs/misc.texi (Amusements): Don't mention Yow; it's crippled.
Chong Yidong [Sun, 10 Jul 2011 04:12:48 +0000 (00:12 -0400)]
* doc/emacs/misc.texi (Amusements): Don't mention Yow; it's crippled.

14 years agoMove Minor Modes node of Emacs manual next to the Major Modes node
Chong Yidong [Sun, 10 Jul 2011 04:05:33 +0000 (00:05 -0400)]
Move Minor Modes node of Emacs manual next to the Major Modes node
and out of the Customizations chapter.

* doc/emacs/modes.texi: Rename from major.texi.
(Modes): New node.  Make Major Modes and Minor Modes subsections
of this.  All callers changed.

* doc/emacs/custom.texi (Minor Modes): Move to modes.texi.

14 years agoRemove Syntax node from Emacs manual.
Chong Yidong [Sun, 10 Jul 2011 03:11:47 +0000 (23:11 -0400)]
Remove Syntax node from Emacs manual.
This node served no purpose in the Customization section.

* doc/emacs/custom.texi (Syntax): Node deleted.

* doc/emacs/emacs.texi (Top): Update node listing.

* doc/emacs/help.texi (Help Summary):
* doc/emacs/major.texi (Major Modes):
* doc/emacs/programs.texi (Parentheses):
* doc/emacs/search.texi (Regexp Backslash, Regexp Backslash)
(Regexp Backslash):
* doc/emacs/text.texi (Words): Callers changed.

14 years agoRemove documentation for Refill and Longlines modes.
Chong Yidong [Sun, 10 Jul 2011 02:38:26 +0000 (22:38 -0400)]
Remove documentation for Refill and Longlines modes.
These will be obsoleted in a future version of Emacs.

* text.texi (Refill, Longlines): Delete nodes.

* ack.texi (Acknowledgments): Longlines removed from manual.

* emacs.texi (Top): Update node listing.

14 years agoFix last change.
Chong Yidong [Sun, 10 Jul 2011 02:06:09 +0000 (22:06 -0400)]
Fix last change.

14 years agoTweak link and startup screen faces.
Chong Yidong [Sun, 10 Jul 2011 02:04:45 +0000 (22:04 -0400)]
Tweak link and startup screen faces.

See http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00478.html
for a discussion of the link face.  The changes to the startup faces
are so that they can take advantage of the light/dark background
settings already defined for those faces.

* lisp/faces.el (link): Use a less saturated blue on light backgrounds.

* lisp/startup.el (fancy-startup-text, fancy-about-text)
(fancy-startup-tail): Use font-lock faces, for background safety.

14 years ago* vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
Bob Rogers [Sun, 10 Jul 2011 01:42:39 +0000 (21:42 -0400)]
* vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).

14 years agoFix incorrect args to display-buffer-reuse-window in revno 105058.
Chong Yidong [Sun, 10 Jul 2011 01:40:32 +0000 (21:40 -0400)]
Fix incorrect args to display-buffer-reuse-window in revno 105058.

* lisp/window.el (display-buffer): Fix arguments to
display-buffer-reuse-window in last change.

14 years ago* lib/stdint.in.h: Merge from gnulib (Bug#9025).
Paul Eggert [Sat, 9 Jul 2011 22:03:22 +0000 (15:03 -0700)]
* lib/stdint.in.h: Merge from gnulib (Bug#9025).

This fixes a build problem on older Mac OS X hosts.

14 years agoDocument "ignored" arguments to keep checkdoc happy.
Bill Wohler [Sat, 9 Jul 2011 20:25:54 +0000 (13:25 -0700)]
Document "ignored" arguments to keep checkdoc happy.

* mh-speed.el (mh-speed-toggle,mh-speed-view): Ditto
* mh-search.el (mh-flists-execute): Ditto.
* mh-funcs.el (mh-undo-folder): Ditto.
* mh-comp.el (mh-user-agent-compose): Ditto.

14 years ago* mh-xface.el (mh-face-to-png, mh-uncompface)
Bill Wohler [Sat, 9 Jul 2011 20:19:10 +0000 (13:19 -0700)]
* mh-xface.el (mh-face-to-png, mh-uncompface)
(mh-picon-file-contents): Only call set-buffer-multibyte if it exists,
which it doesn't in XEmacs.

14 years agoLimit triggering of abbrev expansion in viper-mode (Bug#9038)
Bob Nnamtrop [Sat, 9 Jul 2011 19:32:42 +0000 (15:32 -0400)]
Limit triggering of abbrev expansion in viper-mode (Bug#9038)

* lisp/emulation/viper-cmd.el (viper-change-state-to-vi): Limit
triggering of abbrev expansion.

14 years agoRemove duplicate ChangeLog entry.
Glenn Morris [Sat, 9 Jul 2011 18:12:29 +0000 (11:12 -0700)]
Remove duplicate ChangeLog entry.

14 years agosrc/chartab.c (uniprop_table_uncompress): Remove unused local variable.
Juanma Barranquero [Sat, 9 Jul 2011 13:58:09 +0000 (15:58 +0200)]
src/chartab.c (uniprop_table_uncompress): Remove unused local variable.

14 years agoSimplify normalization of default buffer display specifieres and options.
martin rudalics [Sat, 9 Jul 2011 12:32:38 +0000 (14:32 +0200)]
Simplify normalization of default buffer display specifieres and options.

* window.el (display-buffer-default-specifiers): Remove.
(display-buffer-macro-specifiers): Remove default specifiers.
(display-buffer-alist): Default to nil.
(display-buffer-reuse-window): New optional argument
other-window.
(display-buffer-pop-up-window): Allow splitting internal
windows.  Check whether a live window was created.
(display-buffer-other-window-means-other-frame)
(display-buffer-normalize-arguments): Rename to
display-buffer-normalize-argument and rewrite.  Set the
other-window specifier.
(display-buffer-normalize-special): New function.
(display-buffer-normalize-options): Rename to
display-buffer-normalize-default and rewrite.
(display-buffer-normalize-options-inhibit): Remove.
(display-buffer-normalize-specifiers): Rewrite.
(display-buffer): Process other-window specifier and call
display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
more faithfully.
(pop-up-windows, even-window-heights): Restore Emacs 23 default
values.
(display-buffer-alist-set): Don't handle 'unset default values.
(display-buffer-in-window, display-buffer-alist-set): Replace
symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
<tassilo@member.fsf.org>.

14 years ago* lib-src/update-game-score.c (usage): Update usage line.
Andreas Schwab [Sat, 9 Jul 2011 10:32:42 +0000 (12:32 +0200)]
* lib-src/update-game-score.c (usage): Update usage line.

14 years agoAuto-commit of generated files.
Glenn Morris [Sat, 9 Jul 2011 10:18:57 +0000 (06:18 -0400)]
Auto-commit of generated files.

14 years ago* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB
Paul Eggert [Sat, 9 Jul 2011 08:56:25 +0000 (01:56 -0700)]
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB

test, which runs afoul of Automake installations where, for example,
/usr/share/aclocal contains a copy of gl_THREADLIB.
Problem reported by Sven Joachim in
<http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00529.html>.
This is just a quick temporary fix, specific to Emacs; I'll work
with the other gnulib maintainers to get a more-permanent fix.

14 years ago* gtkutil.c (qttip_cb): Remove code without function.
Jan D. [Sat, 9 Jul 2011 07:59:22 +0000 (09:59 +0200)]
* gtkutil.c (qttip_cb): Remove code without function.

14 years agoFix MS-Windows build broken by revision 105047.
Eli Zaretskii [Sat, 9 Jul 2011 07:00:58 +0000 (10:00 +0300)]
Fix MS-Windows build broken by revision 105047.

 src/w32.c (pthread_sigmask): New stub.

14 years agoAdd Bug#.
Paul Eggert [Sat, 9 Jul 2011 06:39:37 +0000 (23:39 -0700)]
Add Bug#.

14 years agoFix minor problems found by static checking.
Paul Eggert [Sat, 9 Jul 2011 06:28:40 +0000 (23:28 -0700)]
Fix minor problems found by static checking.

* chartab.c (char_table_set_range, map_sub_char_table)
(uniprop_table_uncompress): Remove unused locals.
(uniprop_table): Now static.
* composite.c (_work_char): Remove unused static var.
* gtkutil.c (qttip_cb): Remove stray no-effect statement.

14 years agoMerge from trunk.
Paul Eggert [Sat, 9 Jul 2011 06:26:23 +0000 (23:26 -0700)]
Merge from trunk.

14 years agoRestore accidental change to insert-register
Leo Liu [Sat, 9 Jul 2011 03:11:57 +0000 (11:11 +0800)]
Restore accidental change to insert-register

14 years ago* doc/emacs/fortran-xtra.texi (Fortran): Update handled extensions.
Glenn Morris [Sat, 9 Jul 2011 00:51:42 +0000 (20:51 -0400)]
* doc/emacs/fortran-xtra.texi (Fortran): Update handled extensions.

14 years ago* lisp/subr.el (remq): Handle the empty list. (Bug#9024)
Glenn Morris [Sat, 9 Jul 2011 00:50:01 +0000 (20:50 -0400)]
* lisp/subr.el (remq): Handle the empty list.  (Bug#9024)

14 years agoMerge: Add gnulib's strtoimax module, needed on Solaris 8.
Paul Eggert [Sat, 9 Jul 2011 00:23:12 +0000 (17:23 -0700)]
Merge: Add gnulib's strtoimax module, needed on Solaris 8.

* Makefile.in (GNULIB_MODULES): Add strtoimax.
* lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files,
automatically imported from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.

14 years agoAdd strtoimax module, needed for Solaris 8 port.
Paul Eggert [Sat, 9 Jul 2011 00:18:49 +0000 (17:18 -0700)]
Add strtoimax module, needed for Solaris 8 port.

* Makefile.in (GNULIB_MODULES): Add strtoimax.
* lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files,
automatically imported from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 23:52:31 +0000 (16:52 -0700)]
Merge from trunk.

14 years agoFix ChangeLog typos in previous commit.
Paul Eggert [Fri, 8 Jul 2011 20:48:32 +0000 (13:48 -0700)]
Fix ChangeLog typos in previous commit.

14 years agoMerge: Use pthread_sigmask, not sigprocmask (Bug#9010).
Paul Eggert [Fri, 8 Jul 2011 20:39:30 +0000 (13:39 -0700)]
Merge: Use pthread_sigmask, not sigprocmask (Bug#9010).

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 20:22:17 +0000 (13:22 -0700)]
Merge from trunk.

14 years agoSimplify Emacs part of pthread_sigmask support.
Paul Eggert [Fri, 8 Jul 2011 20:20:19 +0000 (13:20 -0700)]
Simplify Emacs part of pthread_sigmask support.

* Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid sigprocmask.
* configure.in (AC_TYPE_UID_T): New dummy macro.
Configure gnulib after adjusting LIBS,
so that gnulib can assume the libraries in LIBS.
* lib/pthread_sigmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
New files, automatically imported from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
* src/Makefile.in (LIB_PTHREAD_SIGMASK): New macro.
(LIBES): Use it.

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 20:14:28 +0000 (13:14 -0700)]
Merge from trunk.

14 years agoBetter fix that keeps corret margins in tooltip.
Jan D. [Fri, 8 Jul 2011 17:57:55 +0000 (19:57 +0200)]
Better fix that keeps corret margins in tooltip.

* gtkutil.c (qttip_cb): Set line wrap to FALSE for tooltip widget.
(xg_prepare_tooltip): Revert text in x->ttip_lbl, margins was
wrong.

14 years agoDon't let Gtk+ linewrap tooltips.
Jan D. [Fri, 8 Jul 2011 17:25:17 +0000 (19:25 +0200)]
Don't let Gtk+ linewrap tooltips.

* gtkutil.c (xg_prepare_tooltip): Fix indentation and comment.
Put text in x->ttip_lbl instead of gtk_tooltip_set_text.
(xg_hide_tooltip): Fix comment.

14 years ago* lisp/mail/sendmail.el (send-mail-function): No longer delay custom
Andreas Schwab [Fri, 8 Jul 2011 17:02:01 +0000 (19:02 +0200)]
* lisp/mail/sendmail.el (send-mail-function): No longer delay custom
initialization.
* lisp/custom.el (custom-initialize-delay): Doc fix.

14 years agoFix breakage introduced by fixing Bug#8842.
Jan D. [Fri, 8 Jul 2011 15:39:40 +0000 (17:39 +0200)]
Fix breakage introduced by fixing Bug#8842.

* nsfns.m (Fx_open_connection): Put NSStringPboardType into
ns_return_type.

* nsterm.m (initFrameFromEmacs): Don't use ns_return_types
in registerServicesMenuSendTypes.
(validRequestorForSendType): Don't check ns_return_types.

14 years ago* lisp/abbrev.el (expand-abbrev): Try to preserve point.
Stefan Monnier [Fri, 8 Jul 2011 14:42:36 +0000 (10:42 -0400)]
* lisp/abbrev.el (expand-abbrev): Try to preserve point.

14 years ago* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
Michael Albinus [Fri, 8 Jul 2011 14:25:25 +0000 (16:25 +0200)]
* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
human-friendly prompt.

14 years ago* lisp/vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
Stefan Monnier [Fri, 8 Jul 2011 14:02:44 +0000 (10:02 -0400)]
* lisp/vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
provided by a particular plugin.

14 years ago* src/w32fns.c (w32_wnd_proc) [WM_TIMER, WM_SET_CURSOR]: Avoid using
Jason Rumney [Fri, 8 Jul 2011 12:46:17 +0000 (20:46 +0800)]
* src/w32fns.c (w32_wnd_proc) [WM_TIMER, WM_SET_CURSOR]: Avoid using
frame struct members of non-existent frames.

14 years agoAuto-commit of generated files.
Glenn Morris [Fri, 8 Jul 2011 10:19:15 +0000 (06:19 -0400)]
Auto-commit of generated files.

14 years agoFix warnings in ns*m files: Replace deprecated methods, declare new interfaces.
Jan D. [Fri, 8 Jul 2011 10:04:23 +0000 (12:04 +0200)]
Fix warnings in ns*m files: Replace deprecated methods, declare new interfaces.

* emacs.c: Declare unexec_init_emacs_zone.

* nsfns.m (check_ns_display_info): Cast to long and use %ld in error
to avoid warning.

* nsimage.m (allocInitFromFile): Don't use deprecated method
bestRepresentationForDevice on OSX >= 10.6.

* nsmenu.m (fillWithWidgetValue): Don't use depercated method
sizeToFit on OSX >= 10.2.

* nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods
cString and lossyCString on OSX >= 10.4

* nsterm.h (MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_10_4)
(MAC_OS_X_VERSION_10_5): Define if not defined.
(EmacsView, EmacsTooltip): Implements NSWindowDelegate on OSX >= 10.6.
(EmacsMenu): Implements NSMenuDelegate on OSX >= 10.6.
(EmacsToolbar): Implements NSToolbarDelegate on OSX >= 10.6.

* nsterm.m (keyDown): Call to wantsToDelayTextChangeNotifications and
variable firstTime not needed on OSX >= 10.6.
(setPosition): setFloatValue:knobProportion: is deprecated on OSX
>= 10.5.  Use setKnobProportion, setDoubleValue.

14 years agoMerge from gnulib.
Paul Eggert [Fri, 8 Jul 2011 10:02:24 +0000 (03:02 -0700)]
Merge from gnulib.

14 years ago* lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib.
Paul Eggert [Fri, 8 Jul 2011 10:00:52 +0000 (03:00 -0700)]
* lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib.

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 09:38:32 +0000 (02:38 -0700)]
Merge from trunk.

14 years ago* nsgui.h: Fix compiler warning about gnulib redefining verify.
Jan D. [Fri, 8 Jul 2011 08:42:58 +0000 (10:42 +0200)]
* nsgui.h: Fix compiler warning about gnulib redefining verify.

14 years agoFix services menu empty on OSX 1.6+.
Jan D. [Fri, 8 Jul 2011 08:11:35 +0000 (10:11 +0200)]
Fix services menu empty on OSX 1.6+.

* nsfns.m (Fx_open_connection): Remove NSStringPboardType from
ns_return_types.
(Fns_list_services): Just return Qnil on 10.6, code not working there.

* nsmenu.m (ns_update_menubar): Remove useless setDelegate call
on svcsMenu.

* nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).

* nsterm.h (MAC_OS_X_VERSION_10_6): Define here instead of nsterm.m.
(ns_get_local_selection): Declare.

* nsterm.m (QUTF8_STRING): Declare.
(initFrameFromEmacs): Call registerServicesMenuSendTypes.
(validRequestorForSendType): Return type is (id).
Change indexOfObjectIdenticalTo to indexOfObject.
Check if we have local selection before returning self (Bug#8842).
(writeSelectionToPasteboard): Put local selection into paste board
if we have a local selection (Bug#8842).
(syms_of_nsterm): DEFSYM QUTF8_STRING.

14 years agoAllow sending mail in "emacs -Q" by not calling customize-save-variable
Lars Magne Ingebrigtsen [Fri, 8 Jul 2011 07:42:21 +0000 (09:42 +0200)]
Allow sending mail in "emacs -Q" by not calling customize-save-variable

* mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.

* mail/sendmail.el (sendmail-query-once): If we aren't allowed to
save customizations (with "emacs -Q"), just set the variable
instead of erroring out.

14 years agoRevert the plstore editing feature.
Daiki Ueno [Fri, 8 Jul 2011 01:29:29 +0000 (10:29 +0900)]
Revert the plstore editing feature.

14 years ago* lisp/arc-mode.el (archive-zip-expunge, archive-zip-update)
Juri Linkov [Fri, 8 Jul 2011 00:08:53 +0000 (03:08 +0300)]
* lisp/arc-mode.el (archive-zip-expunge, archive-zip-update)
(archive-zip-update-case): Use 7z if found by `executable-find'.
The order of searching the available programs is the same as in
`archive-zip-extract'.

14 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 23:18:23 +0000 (23:18 +0000)]
Merge changes made in Gnus trunk.

gnus-msg.el (gnus-bug): Don't insert user variables.  It usually isn't very interesting any more, and it leaks potentially secret data.
 (gnus-debug): Removed.
gnus-art.el (gnus-ignored-headers): Removed obsolete and non-working use of :custom-show.

14 years agoTweak last change to menu descriptions.
Chong Yidong [Thu, 7 Jul 2011 22:41:09 +0000 (18:41 -0400)]
Tweak last change to menu descriptions.

* lisp/menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
(menu-bar-options-menu): Tweak descriptions.

14 years agoMake all the Options menu items into verb phrases
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 21:43:38 +0000 (23:43 +0200)]
Make all the Options menu items into verb phrases

* menu-bar.el (menu-bar-line-wrapping-menu): Also refill to fit under
80 columns.

14 years ago2011-07-07 Tassilo Horn <tassilo@member.fsf.org>
Tassilo Horn [Thu, 7 Jul 2011 20:42:30 +0000 (22:42 +0200)]
2011-07-07  Tassilo Horn  <tassilo@member.fsf.org>

* themes/tsdh-light-theme.el:
* themes/tsdh-dark-theme.el: Make `gnus-button' face inherit from
`button', `gnus-header-name' boxed, and define `rcirc-my-nick'
face.

14 years ago* text.texi (Special Properties): Clarify the format of `face'
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 20:37:54 +0000 (22:37 +0200)]
* text.texi (Special Properties): Clarify the format of `face'

14 years agoDocument some Info functions (Bug#1084).
Chong Yidong [Thu, 7 Jul 2011 20:35:28 +0000 (16:35 -0400)]
Document some Info functions (Bug#1084).

* lisp/info.el (info, Info-read-node-name-2, Info-read-node-name-1)
(Info-read-node-name): Doc fix.

14 years agoDoc fixes for thingatpt.el.
Chong Yidong [Thu, 7 Jul 2011 18:31:57 +0000 (14:31 -0400)]
Doc fixes for thingatpt.el.

* lisp/thingatpt.el (forward-thing, bounds-of-thing-at-point)
(thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
(end-of-sexp, beginning-of-sexp)
(thing-at-point-bounds-of-list-at-point, forward-whitespace)
(forward-symbol, forward-same-syntax, word-at-point)
(sentence-at-point): Doc fix (Bug#1144).

14 years ago(Info-mode-map): Remove S-TAB binding, since [backtab] should cover it
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 18:28:25 +0000 (20:28 +0200)]
(Info-mode-map): Remove S-TAB binding, since [backtab] should cover it

14 years ago(describe_map_tree): Don't insert a double newline at the end of the string
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 17:19:10 +0000 (19:19 +0200)]
(describe_map_tree): Don't insert a double newline at the end of the string

Return whether we inserted something.  This should allow the caller to
decide whether to insert more newlines or not.

14 years agoClarify the `call-interactively' doc string, and add an example.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 16:59:26 +0000 (18:59 +0200)]
Clarify the `call-interactively' doc string, and add an example.

14 years agoRemove mention of `require' in ediff.texi
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 16:38:27 +0000 (18:38 +0200)]
Remove mention of `require' in ediff.texi

That's not pertinent in the installed Emacs.

14 years agoMerge from emacs-23 branch
Chong Yidong [Thu, 7 Jul 2011 16:18:48 +0000 (12:18 -0400)]
Merge from emacs-23 branch

14 years agoMerge from emacs-23 branch
Chong Yidong [Thu, 7 Jul 2011 16:18:25 +0000 (12:18 -0400)]
Merge from emacs-23 branch

14 years agoNote that :custom-show is obsolete.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 15:59:00 +0000 (17:59 +0200)]
Note that :custom-show is obsolete.

14 years agoFix bug #9015 with a bogus crash with glyphless characters on a TTY.
Eli Zaretskii [Thu, 7 Jul 2011 15:39:23 +0000 (18:39 +0300)]
Fix bug #9015 with a bogus crash with glyphless characters on a TTY.

 src/term.c (produce_glyphs) <xassert>: Allow IT_GLYPHLESS in it->what.

14 years agoWork around gnutls failures
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 15:14:17 +0000 (17:14 +0200)]
Work around gnutls failures

* net/network-stream.el (network-stream-open-starttls): If gnutls
negotiation fails, then possibly try again with a non-encrypted
connection.

14 years ago* configure.in (maintainer-mode): Reflect default in help string.
Andreas Schwab [Thu, 7 Jul 2011 15:07:54 +0000 (17:07 +0200)]
* configure.in (maintainer-mode): Reflect default in help string.

14 years agoUpdate doc string of `smtpmail-stream-type'.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 14:54:12 +0000 (16:54 +0200)]
Update doc string of `smtpmail-stream-type'.

* mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
be used.

14 years agoadmin/unidata/makefile.w32-in: Duplicate change in Makefile.in (revno:105007).
Juanma Barranquero [Thu, 7 Jul 2011 13:55:12 +0000 (15:55 +0200)]
admin/unidata/makefile.w32-in: Duplicate change in Makefile.in (revno:105007).

14 years agoMention the `send-mail-function' default change.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 11:59:05 +0000 (13:59 +0200)]
Mention the `send-mail-function' default change.

14 years ago* NEWS: Clarify `smtpmail-auth-credentials' non-existence.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 11:18:17 +0000 (13:18 +0200)]
* NEWS: Clarify `smtpmail-auth-credentials' non-existence.

14 years agoFix bugs finding grep hits in Rmail buffers.
Richard Stallman [Thu, 7 Jul 2011 10:35:43 +0000 (06:35 -0400)]
Fix bugs finding grep hits in Rmail buffers.

14 years agoAuto-commit of generated files.
Glenn Morris [Thu, 7 Jul 2011 10:19:23 +0000 (06:19 -0400)]
Auto-commit of generated files.

14 years agoAdd a major mode to edit plstore files.
Daiki Ueno [Thu, 7 Jul 2011 09:20:37 +0000 (18:20 +0900)]
Add a major mode to edit plstore files.

* plstore.el: Add documentation.
(plstore-mode): New mode to edit plstore file.
(plstore-mode-toggle-display, plstore-mode-original)
(plstore-mode-decoded): New command.
(plstore--encode, plstore--decode, plstore--write-contents-functions)
(plstore--insert-buffer, plstore--make): New function.
(plstore-open, plstore-save): Simplify by using them.

14 years agoIgnore a static composition that starts before the current checking position in redis...
Kenichi Handa [Thu, 7 Jul 2011 07:12:34 +0000 (16:12 +0900)]
Ignore a static composition that starts before the current checking position in redisplay.

14 years agoIgnore a static composition that starts before the current checking position in redis...
Kenichi Handa [Thu, 7 Jul 2011 07:11:54 +0000 (16:11 +0900)]
Ignore a static composition that starts before the current checking position in redisplay.

14 years agoAdd C interface for Unicode character property table.
Kenichi Handa [Thu, 7 Jul 2011 04:21:49 +0000 (13:21 +0900)]
Add C interface for Unicode character property table.

14 years agomerge trunk
Kenichi Handa [Thu, 7 Jul 2011 04:20:12 +0000 (13:20 +0900)]
merge trunk

14 years agochartab.c (sub_char_table_set_range): Fix previous change.
Kenichi Handa [Thu, 7 Jul 2011 04:16:52 +0000 (13:16 +0900)]
chartab.c (sub_char_table_set_range): Fix previous change.

14 years agoSimplify Irix build, remove iris4d.h file.
Dan Nicolaescu [Thu, 7 Jul 2011 03:24:33 +0000 (20:24 -0700)]
Simplify Irix build, remove iris4d.h file.

* configure.in: Remove reference to iris4d.h.

* src/m/iris4d.h: Remove file, move contents ...
* src/s/irix6-5.h: ... here.

14 years agoTweak to `button' face in custom themes.
Chong Yidong [Thu, 7 Jul 2011 01:48:14 +0000 (21:48 -0400)]
Tweak to `button' face in custom themes.

* etc/themes/dichromacy-theme.el:
* etc/themes/tango-theme.el:
* etc/themes/tango-dark-theme.el:
* etc/themes/wheatgrass-theme.el: Don't define button face separately;
it inherits from link now.

14 years agoError in next-buffer or previous-buffer if called from minibuffer.
Chong Yidong [Thu, 7 Jul 2011 01:46:59 +0000 (21:46 -0400)]
Error in next-buffer or previous-buffer if called from minibuffer.

* lisp/window.el (next-buffer, previous-buffer): Signal an error if
called from a minibuffer window.

* lisp/bindings.el: Revert 2011-07-04 change.

14 years agoMerge from trunk.
Paul Eggert [Thu, 7 Jul 2011 01:44:57 +0000 (18:44 -0700)]
Merge from trunk.

14 years agoAdd Bug#.
Paul Eggert [Wed, 6 Jul 2011 23:29:03 +0000 (16:29 -0700)]
Add Bug#.

14 years agomerge trunk
Kenichi Handa [Wed, 6 Jul 2011 23:28:00 +0000 (08:28 +0900)]
merge trunk

14 years agoAdd C interface for Unicode character property table.
Kenichi Handa [Wed, 6 Jul 2011 22:43:48 +0000 (07:43 +0900)]
Add C interface for Unicode character property table.

14 years agoRmail mime: Use markers for positions in entities.
Richard Stallman [Wed, 6 Jul 2011 22:43:46 +0000 (18:43 -0400)]
Rmail mime: Use markers for positions in entities.

14 years agolisp/gnus/ChangeLog (2011-07-04): Add missing entry.
Katsumi Yamaoka [Wed, 6 Jul 2011 22:39:47 +0000 (22:39 +0000)]
lisp/gnus/ChangeLog (2011-07-04): Add missing entry.

14 years agoMerge: Remove more assumptions re struct layout (Bug#8884).
Paul Eggert [Wed, 6 Jul 2011 22:23:30 +0000 (15:23 -0700)]
Merge: Remove more assumptions re struct layout (Bug#8884).

14 years agoRemove more assumptions re struct layout (Bug#8884).
Paul Eggert [Wed, 6 Jul 2011 22:22:32 +0000 (15:22 -0700)]
Remove more assumptions re struct layout (Bug#8884).

14 years agoMerge from trunk.
Paul Eggert [Wed, 6 Jul 2011 22:03:49 +0000 (15:03 -0700)]
Merge from trunk.

14 years agoMerge: Remove unportable assumption about struct layout (Bug#8884).
Paul Eggert [Wed, 6 Jul 2011 21:56:44 +0000 (14:56 -0700)]
Merge: Remove unportable assumption about struct layout (Bug#8884).

* buffer.c (clone_per_buffer_values): Don't assume that
sizeof (struct buffer) is a multiple of sizeof (Lisp_Object).
This isn't true in general, and it's particularly not true
if Emacs is configured with --with-wide-int.
* buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER):
New macros, used in the buffer.c change.

14 years agoRemove unportable assumption about struct layout (Bug#8884).
Paul Eggert [Wed, 6 Jul 2011 21:53:56 +0000 (14:53 -0700)]
Remove unportable assumption about struct layout (Bug#8884).

* buffer.c (clone_per_buffer_values): Don't assume that
sizeof (struct buffer) is a multiple of sizeof (Lisp_Object).
This isn't true in general, and it's particularly not true
if Emacs is configured with --with-wide-int.
* buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER):
New macros, used in the buffer.c change.